package huawei

import "multitude-cloud-exporter/pkg/config/base"

type Config struct {
	AK    string           `mapstructure:"ak" yaml:"ak"`
	SK    string           `mapstructure:"sk" yaml:"sk"`
	Types map[string]*Type `mapstructure:"types" yaml:"types"`
}

type Type struct {
	Name           string             `mapstructure:"name" yaml:"name"`
	Belong         string             `mapstructure:"belong" yaml:"belong"`
	Namespace      string             `mapstructure:"namespace" yaml:"namespace"`
	DimensionsName string             `mapstructure:"dimensions_name" yaml:"dimensions_name"`
	MetricsInfo    []*base.MetricInfo `mapstructure:"metrics_info" json:"metrics_info"`
}
